<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
      integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<body>
<div style="margin-top: 180px;margin-left: 300px">
    <h1 class="col-md-offset-2 col-lg-offset-2col-xl-offset-2">登录页面</h1>
    <h3 th:text="${msg}" style="color: red" class="col-md-offset-2 col-lg-offset-2col-xl-offset-2"></h3>
    <form class="form-horizontal" action="login" method="post">
        <div class="form-group">
            <label for="name" class="col-sm-2 control-label">账 号</label>
            <div class="col-sm-3">
                <input type="text" name="username" class="form-control" id="name" placeholder="name">
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword" class="col-sm-2 control-label">密 码</label>
            <div class="col-sm-3">
                <input type="password" name="password" class="form-control" id="inputPassword" placeholder="password">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <div class="checkbox">
                    <label>
                        <input type="checkbox"> Remember me
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary">Sign in</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>
